package com.sea.operate.service;


import com.sea.operate.entity.RelatedMaterial;
import com.sea.operate.entity.RelatedMaterialDetail;

import java.util.List;

/**
 * @author 陈鸿飞
 */
public interface RelatedMaterialDetailService {
    /**
     * 条件查询
     * @param relatedMaterialDetail
     * @return
     */
    List<RelatedMaterialDetail> findByCnd(RelatedMaterialDetail relatedMaterialDetail);

    /**
     * 条件查询
     * @param relatedMaterialDetail
     * @return
     */
    Integer save(RelatedMaterialDetail relatedMaterialDetail);

    List<RelatedMaterialDetail> findByMaterialId(RelatedMaterialDetail relatedMaterialDetail);

    Integer usave(RelatedMaterialDetail relatedMaterialDetail);

    List<RelatedMaterialDetail> exportMaterialDetailByProduceId(Integer produceId);

    List<RelatedMaterialDetail> exportFnSkuByProduceId(Integer produceId);
}
